package cn.tedu.store.entity.dto;

import cn.hutool.core.date.DateTime;
import lombok.Data;

import java.io.Serializable;

@Data
public class TokenInfo implements Serializable {

    /**
     * 过期时间
     */
    private DateTime expirationTime;

    /**
     * 微信token
     */
    private String accessToken;


    public TokenInfo() {
    }

    public TokenInfo(String accessToken, DateTime expirationTime) {
        this.expirationTime = expirationTime;
        this.accessToken = accessToken;
    }
}
